const go/types.mapindex
11 uses
go/types (current package)
api.go#L343: case constant_, variable, mapindex, value, commaok, commaerr:
api.go#L364: return tv.mode == variable || tv.mode == mapindex
api.go#L370: return tv.mode == commaok || tv.mode == mapindex
assignments.go#L26: case constant_, variable, mapindex, value, commaok, commaerr:
assignments.go#L218: case variable, mapindex:
assignments.go#L224: if op.mode == mapindex {
call.go#L265: if allowCommaOk && (x.mode == mapindex || x.mode == commaok || x.mode == commaerr) {
index.go#L98: x.mode = mapindex
index.go#L172: x.mode = mapindex
operand.go#L26: mapindex // operand is a map index expression (acts like a variable on lhs, commaok on rhs of an assignment)
operand.go#L40: mapindex: "map index expression",